package com.tencreat.service.mall;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tencreat.common.core.domain.model.ReqIdParam;
import com.tencreat.common.core.domain.model.ReqIdsParam;
import com.tencreat.common.core.domain.model.ReqStringParam;
import com.tencreat.domain.mall.MallMultipleOrder;

import java.util.List;

/**
 * 订单关联Service接口
 *
 * @author tencreat
 * @date 2022-01-17
 */
public interface IMallMultipleOrderService  extends IService<MallMultipleOrder> {
    /**
     * 查询订单关联
     *
     * @param muOrderId 订单关联ID
     * @return 订单关联
     */
    public MallMultipleOrder selectMallMultipleOrderById(ReqIdParam muOrderId);

    public List<MallMultipleOrder> selectByMuOrderId(ReqStringParam muOrderId);
    /**
     * 查询订单关联列表
     *
     * @param mallMultipleOrder 订单关联
     * @return 订单关联集合
     */
    public List<MallMultipleOrder> selectMallMultipleOrderList(MallMultipleOrder mallMultipleOrder);

    /**
     * 新增订单关联
     *
     * @param mallMultipleOrder 订单关联
     * @return 结果
     */
    public int insertMallMultipleOrder(MallMultipleOrder mallMultipleOrder);

    /**
     * 修改订单关联
     *
     * @param mallMultipleOrder 订单关联
     * @return 结果
     */
    public int updateMallMultipleOrder(MallMultipleOrder mallMultipleOrder);

    /**
     * 批量删除订单关联
     *
     * @param muOrderIds 需要删除的订单关联ID
     * @return 结果
     */
    public int deleteMallMultipleOrderByIds(ReqIdsParam muOrderIds);

    /**
     * 删除订单关联信息
     *
     * @param muOrderId 订单关联ID
     * @return 结果
     */
    public int deleteMallMultipleOrderById(ReqIdParam muOrderId);
}
